#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"

void Test1()
{
	LTNode* plist = ListInit();
	for (int i = 1; i <= 5; ++i)
	{
		ListPushFront(plist, i);
	}
	ListPrint(plist);
	LTNode*pos = ListFind(plist, 5);
	if (pos)
	{
		ListInsert(pos, 33);
	}
	ListPrint(plist);
	LTNode* pos1 = ListFind(plist, 33);
	ListErase(pos1);
	ListPrint(plist);

	ListDestroy(plist);
	plist = NULL;

}
int main()
{
	Test1();
	return 0;
}